package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
<<<<<<< HEAD
 * @author 曹畅
 * @since 2019-11-20
=======
 * @author wyk
 * @since 2019-11-15
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsRole extends Model<PsRole> {

    private static final long serialVersionUID=1L;

<<<<<<< HEAD
    @TableId(value = "id", type = IdType.AUTO)
=======
    /**
     * 角色主键ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c
    private Integer id;

    @TableField("roleName")
    private String roleName;

<<<<<<< HEAD
    @TableField("creationTime")
    private LocalDateTime creationTime;
=======
    /**
     * 创建时间
     */
    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c

    @TableField("createdBy")
    private String createdBy;

<<<<<<< HEAD
    @TableField("lastUpdateTime")
    private String lastUpdateTime;

    @TableField("isStart")
    private Integer isStart;
=======
    /**
     * 最后修改时间
     */
    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;

    /**
     * 是否启用1为启用0为不启用
     */
    @TableField("ISSTART")
    private Integer isstart;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c

    /**
     * 角色编号
     */
    @TableField("RoleCode")
    private String RoleCode;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
